//
//  CexTableViewCell.m
//  XiangMu
//
//  Created by 康世标 on 15/9/9.
//  Copyright (c) 2015年 康世标. All rights reserved.
//

#import "CexTableViewCell.h"

@implementation CexTableViewCell

- (void)awakeFromNib {
    // Initialization code
    self.imageView1.layer.masksToBounds=YES;
    self.imageView1.layer.cornerRadius=40.0f;
}
- (void)getReuest:(NSDictionary * )dic type:(NSDictionary *)type{
    
    [self.imageView1 sd_setImageWithURL:[NSURL URLWithString:@""] placeholderImage:[UIImage imageNamed:@"like"]];
    self.name.text =[dic valueForKey:@"realname"];
    self.addr.text =[dic valueForKey:@"censusRegister"];
    self.type.text =[type valueForKey:@"carerType"];
    self.perc.text = [NSString stringWithFormat:@"%@元/%@",[dic valueForKey:@"minPrice"]==[NSNull null]?@"":[dic valueForKey:@"minPrice"],[type valueForKey:@"timeType"]==[NSNull null]?@"":[type valueForKey:@"timeType"]];
    self.comm.text = [dic valueForKey:@"description"];
    
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
